package cs.sxh.service;

import cs.sxh.dao.MenuMapper;
import cs.sxh.pojo.Menu;

import java.util.List;

/**
 * @author songxh
 * @create 2022-03-23-11:54
 */
public class MenuServiceImpl implements MenuService {

    private MenuMapper menuMapper;
    public void setMenuMapper(MenuMapper menuMapper) {
        this.menuMapper = menuMapper;
    }

    @Override
    public List<Menu> queryMenuByRole(int u_role) {
        return menuMapper.queryMenuByRole(u_role);
    }


}
